From: kaf24@scramble.cl.cam.ac.uk Date: Fri, 4 Jun 2004 15:22:06 +0000 (+0000) Subject: bitkeeper revision 1.937 (40c0939elXhbQIKlWAMqL7ohYLPX6Q) X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~18184 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=da55514edd1dacc6e7efdfcba7bfa1b8003a2d0d;p=xen.git bitkeeper revision 1.937 (40c0939elXhbQIKlWAMqL7ohYLPX6Q) Undo temporary xend hack. --- diff --git a/tools/xend/lib/main.py b/tools/xend/lib/main.py index 963146c60a..ce7c9ec44b 100755 --- a/tools/xend/lib/main.py +++ b/tools/xend/lib/main.py @@ -201,7 +201,7 @@ def daemon_loop(): xend.blkif.backend_rx_req(port, msg) elif type == CMSG_NETIF_FE and net_if: net_if.ctrlif_rx_req(port, msg) - elif type == CMSG_NETIF_BE: + elif type == CMSG_NETIF_BE and port == xend.netif.be_port: xend.netif.backend_rx_req(port, msg) else: port.write_response(msg) @@ -213,7 +213,7 @@ def daemon_loop(): type = (msg.get_header())['type'] if type == CMSG_BLKIF_BE and port == dom0_port: xend.blkif.backend_rx_rsp(port, msg) - elif type == CMSG_NETIF_BE: + elif type == CMSG_NETIF_BE and port == xend.netif.be_port: xend.netif.backend_rx_rsp(port, msg) # Send console data.